package com.aviation.sell_ticket.service;

import com.aviation.sell_ticket.pojo.Aviation_user;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import java.util.Map;

public interface LoginService {

    public Map<String, Object> login(String user_name, String user_password, HttpServletRequest request);

    public Map<String, Object> logon(Aviation_user aviationUser,String verificationCode);

    public Map<String,Object> emailVerificationCode(String user_name);

    public Map<String, Object> loginOut(String token);

    public Map<String,Object> changePassword(Aviation_user aviationUser, String verificationCode);

    public Map<String,Object> secondChangePassword(String oldPassword,String password,String userId,HttpSession session);

}
